/**
 * User: alesj
 * Date: 2005.3.23
 * Time: 16:21:31
 * 
 * (C) Genera Lynx d.o.o.
 */

package com.generalynx.ecos.beans.orm;

import org.springframework.orm.hibernate3.LocalSessionFactoryBean;
import org.hibernate.cfg.Configuration;
import org.hibernate.HibernateException;

public class ConfiguredSessionFactoryBean extends LocalSessionFactoryBean {

    protected void postProcessConfiguration(Configuration config) throws HibernateException {
        config.setListener("delete", new BasicDeleteEventListener());
    }

}
